<nav>
  <div class="nav-wrapper">
    <a href="#" class="logo">{{	name	}}</a>
    <ul id="nav-mobile">
      <li>
        <a [routerLink]="['/home']" routerLinkActive="active">首页</a>
      </li>
      <li>
        <a [routerLink]="['/reg']" routerLinkActive="active">注册</a>
      </li>
      <li>
        <a [routerLink]="['/login']" routerLinkActive="active">登录</a>
      </li>
      <li>
        <a [routerLink]="['/create']" routerLinkActive="active">创建问卷</a>
      </li>
      <li>
        <a [routerLink]="['/list']" routerLinkActive="active">我的问卷</a>
      </li>
      <li>
        <a [routerLink]="['/help']" routerLinkActive="active">使用帮助</a>
      </li>
    </ul>
  </div>
</nav>
<main>
  <router-outlet></router-outlet>
</main>
<footer>
   Angular2 Demo by <a [href]="urlqq">jolvmail@163.com</a>
  <div>
    <!--<img [src]="angularclassLogo" width="10%">-->
  </div>
</footer>